from django.db import models

# Create your models here.
class MyXinxi(models.Model):
    name = models.CharField(max_length=30,verbose_name='昵称')
    mobile = models.CharField(max_length=11,verbose_name='手机号')
    password = models.CharField(max_length=20,verbose_name='密码')
    qianming = models.CharField(max_length=20,verbose_name='个性签名')
    addrs = models.CharField(max_length=50,verbose_name='收货信息')

    class Meta:
        db_table = 'myxinxi'
        verbose_name = '个人信息表'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.name
